steps to create ellipse using c